package org.hxyjs.dao;


import org.hxyjs.entity.Admin;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface AdminDao {
    public List<Admin>  getAllAdmins() throws Exception;
    Integer deleteAdminByAno(String ano) throws Exception;
    Integer updateAdminByAno(Admin admin) throws Exception;
    Integer addAdmin(Admin admin) throws Exception;
    public List<Admin> getAdminByPage(PageInfo pageInfo) throws Exception;
    Admin getAccountByAccountName(String aname);
}
